package com.xbongbong.pro.enums.lowcode;

import lombok.Getter;

/**
 * @author 吴峰
 * @date 2021/03/12 15:01
 */
@Getter
public enum ButtonTypeEnum {

    /**
     *
     */

    // 列表（
    LIST(1, "list", "列表"),
    // 新建
    ADD(2, "add", "新建"),

    // 编辑
    EDIT(3, "edit", "编辑"),

    // 详情
    DETAIL(4, "detail", "详情"),

    //审批
    PROCESS(5, "process", "审批"),

    ;
    private Integer code;

    private String alias;

    private String memo;

    ButtonTypeEnum(Integer code, String alias, String memo) {
        this.code = code;
        this.alias = alias;
        this.memo = memo;
    }
}
